// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.model.quality;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.sys.entity.SysFile;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * QualityCheckStorage 列表项类
 */
@Data
@Schema(title = "质检单 列表项")
public class QualityCheckStorageItemVo implements Serializable {

  /**
   * 编号
   */
  @Schema(title = "编号")
  private Long id;

  /**
   * 质检单号
   */
  @Schema(title = "质检单号")
  private String qcSn;

  /**
   * 创建时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 商品id
   */
  @Schema(title = "商品id")
  private Long productId;

  /**
   * 商品图片
   */
  @Schema(title = "商品图片")
  private String productImg;

  /**
   * 商品名
   */
  @Schema(title = "商品名")
  private String productName;

  /**
   * sku
   */
  @Schema(title = "sku")
  private String sku;

  /**
   * 商品标签
   */
  @Schema(title = "商品标签")
  private String productLabel;

  /**
   * 店铺id
   */
  @Schema(title = "店铺id")
  private Long shopId;

  /**
   * 店铺名
   */
  @Schema(title = "店铺名")
  private String shopName;

  /**
   * fnsku
   */
  @Schema(title = "fnsku")
  private String fnsku;

  /**
   * 采购单号
   */
  @Schema(title = "采购单号")
  private String purchaseCode;

  /**
   * 采购员id
   */
  @Schema(title = "采购员id")
  private Long buyerId;

  /**
   * 采购员
   */
  @Schema(title = "采购员")
  private String buyerName;

  /**
   * 收货单号
   */
  @Schema(title = "收货单号")
  private String deliveryOrderSn;

  /**
   * 收货人id
   */
  @Schema(title = "收货人id")
  private Long receiveId;

  /**
   * 收货人
   */
  @Schema(title = "收货人")
  private String receiveName;

  /**
   * 仓库id
   */
  @Schema(title = "仓库id")
  private Long warehouseId;

  /**
   * 仓库
   */
  @Schema(title = "仓库")
  private String warehouseName;

  /**
   * 供应商id
   */
  @Schema(title = "供应商id")
  private Long supplierId;

  /**
   * 供应商
   */
  @Schema(title = "供应商")
  private String supplierName;

  /**
   * 到货时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "到货时间")
  private java.util.Date receiveTime;

  /**
   * 质检量
   */
  @Schema(title = "质检量")
  private Integer productReceiveNum;

  /**
   * 质检方式
   */
  @Schema(title = "质检方式")
  private String qcMethodType;

  /**
   * 质检状态
   */
  @Schema(title = "质检状态")
  private String qcStatus;

  /**
   * 良品量
   */
  @Schema(title = "良品量")
  private Integer productGoodNum;

  /**
   * 次品量
   */
  @Schema(title = "次品量")
  private Integer productBadNum;

  /**
   * 质检员id
   */
  @Schema(title = "质检员id")
  private Long qcUserId;

  /**
   * 质检员
   */
  @Schema(title = "质检员")
  private String qcName;

  /**
   * 质检时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "质检时间")
  private java.util.Date qcTime;

  /**
   * 抽检量
   */
  @Schema(title = "抽检量")
  private Integer productQcNum;

  /**
   * 抽检次品量
   */
  @Schema(title = "抽检次品量")
  private Integer qcBadNum;

  /**
   * 抽检合格率
   */
  @Schema(title = "抽检合格率")
  private java.math.BigDecimal qcRatePass;

  /**
   * 抽检比例
   */
  @Schema(title = "抽检比例")
  private java.math.BigDecimal qcRate;

  /**
   * 可用仓位
   */
  @Schema(title = "可用仓位")
  private Long whbCodeGoodId;

  /**
   * 次品仓位
   */
  @Schema(title = "次品仓位")
  private Long whbCodeBadId;

  /**
   * 质检图片
   */
  @Schema(title = "质检图片")
  private List<SysFile> qcImg;

  /**
   * 质检附件
   */
  @Schema(title = "质检附件")
  private List<SysFile> attachment;

  /**
   * 工作流状态
   */
  @Schema(title = "工作流状态")
  private Integer wfStatus;
}
